package entity.user;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 消息用户关联表
 * </p>
 *
 * @author ZL
 * @since 2022-11-12
 */
@Getter
@Setter
@TableName("message_user")
public class MessageUser implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 发送者ID
     */
    @TableField("sender_id")
    private Integer senderId;

    /**
     * 接收者ID
     */
    @TableField("receiver_id")
    private Integer receiverId;


}
